import java.util.PriorityQueue;
import java.util.Scanner;

public class d3t2 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        String s=scanner.nextLine();
        String[] sarr=s.split(" ");
        int n=Integer.parseInt(sarr[0]);
        int x=Integer.parseInt(sarr[1]);

        int[] arr = new int[n];
        for (int i = 0; i < n; i++) {
           arr[i]= scanner.nextInt();
        }


        int l=0,r=0;
        System.out.println(l+" "+r);
    }
}
